package com.bailian.spring.ioc.beandefinition_05;

import org.springframework.beans.factory.config.BeanDefinition;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @author gaoxu
 * date: Created on 2021/11/5 下午3:57
 */
public class BeanDefinitionQuickstartXmlApplication {

    public static void main(String[] args) {
        ClassPathXmlApplicationContext ctx = new ClassPathXmlApplicationContext("beanDefinition-read.xml");
        BeanDefinition personBeanDefinition = ctx.getBeanFactory().getBeanDefinition("person");
        System.out.println(personBeanDefinition);
    }
}
